package com.etc.service;

import com.etc.entity.Type;
import com.etc.entity.User;

public interface TypeService {
    /**
     * 根据id删除Type
     * @param id
     * @return
     */
    public int deleteByPrimaryKey(Integer id);

    /**
     * 添加User
     * @param type
     * @return
     */
    public int insert(Type type);

    public int insertSelective(Type record);

    /**
     * 根据id查询Type
     * @param id
     * @return
     */
    public Type selectByPrimaryKey(Integer id);

    public int updateByPrimaryKeySelective(User record);

    /**
     * 更改Type
     * @param type
     * @return
     */
    public int updateByPrimaryKey(Type type);
}
